package com.example.service;

import com.example.entity.Equipment;
import com.example.entity.Event;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EquipmentService {
    List<Equipment> selectEquipment(int equipmentId);
    void addEquipment(String equipmentName, String equipmentState, String equipmentCharges);
    void deleteEquipment(int equipmentId);
    int repairEquipment(int equipmentId);
    int rentEquipment(int equipmentId);
    int recoveryEquipment(int equipmentId);
    List<Equipment> chargeEquipment(int equipmentId);
    public PageInfo<Equipment> queryEquipment(Integer pageSize, Integer pageNum);
    List<Equipment> selectTime();
}
